package com.can.convert;

import com.can.domain.entity.Category;
import com.can.domain.vo.CategoryVO;
import com.can.domain.vo.ExcelCategoryVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 分类表(Category) 转换类
 *
 * @author cancan
 * @since 2023-05-06 12:50:11
 */
@Mapper
public interface CategoryConvert {

    CategoryConvert INSTANCE = Mappers.getMapper(CategoryConvert.class);


    List<CategoryVO> convertList(List<Category> categories);

    List<ExcelCategoryVO> convertList01(List<Category> categoryVos);
}
